import tkinter as tk
import tkinter.ttk as ttk


class PageInput(ttk.Frame):
    def __init__(self, parent):
        super().__init__(parent, width=720, height=480)
        self.text_entry = None
        self.create_widgets()

    def create_widgets(self):
        row = 0
        title_font = ("TkDefaultFont", 10, "bold")
        title_label = ttk.Label(self, text="Input", font=title_font)
        title_label.pack(expand=True, fill=tk.BOTH)
        title_label.grid(row=row, column=0, sticky="nsew", padx=2, pady=2)
        row += 1

        separator = ttk.Separator(self, orient="horizontal")
        separator.grid(row=row, column=0, sticky="nsew", padx=2, pady=2)
        row += 1

        entry = ttk.Entry(self)
        entry.grid(row=row, column=0, sticky="nsew", padx=2, pady=2)
        self.text_entry = entry

        self.grid_columnconfigure(0, weight=1)
